<?php

namespace app\api\model;


use think\Model;
use think\Db;
class HomeCate extends Model
{
	public function select(){
		$res = db('home_cate')->select();
		 if($res){
            return_json(200,'查询成功',$res);
        }else{
            return_json(400,'查询失败');
        }
	}

}
?>